package com.bootx.entity;

import jakarta.persistence.Entity;
import jakarta.persistence.Index;
import jakarta.persistence.Table;
import org.hibernate.annotations.Comment;

import java.util.Date;

/**
 * @author black
 */
@Entity
@Table(
        indexes = {
                @Index(name = "lotteryCode_sn_num_index",columnList = "lotteryCode,sn,num",unique = true)
        }
)
public class LotteryRecordNum extends OrderedEntity<Long>{

    private Long lotteryCode;

    private Integer num;

    private Long sn;


    public Long getLotteryCode() {
        return lotteryCode;
    }

    public void setLotteryCode(Long lotteryCode) {
        this.lotteryCode = lotteryCode;
    }

    public Long getSn() {
        return sn;
    }

    public void setSn(Long sn) {
        this.sn = sn;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }
}
